package com.llg.pojo;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 电源型号
 */
@Data
@Table(name = "t_supply_spec")
public class SupplySpec {

    @Id
    @KeySql(useGeneratedKeys = true)
    private Integer id;
    //电源品牌id
    private Integer bid;
    //型号名称
    private String name;
    //功率
    private Double power;
    //电压
    private Double voltage;
    //电流
    private Double electric;
    //电源个数
    private int num;
}
